package com.ttg.common.sftp;

import lombok.Data;

@Data
public class SftpConfig {

    private SftpExecTypeEnum execType;

    private String serverIp;
    private Integer port;
    private String username;
    private String password;
    private String privateKey;

    private String remotePath;
    private String remoteFilename;
    private String localPath;
    private String localFilename;

    private ProxyTypeEnum proxyType;
    private String proxyHost;
    private Integer proxyPort;

    public SftpConfig() {

    }

    public SftpConfig(String serverIp, Integer port, String username, String password) {
        this.serverIp = serverIp;
        this.port = port;
        this.username = username;
        this.password = password;
    }

}
